package com.wry.sharding.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *<h1>  <h1>
 *
 * @author wry
 * @since 2025/1/3 10:06
 */
@Data
@TableName(value = "user_info")
public class UserInfo implements Serializable {
    /**
     * 用戶id
     */
    @TableId(value = "user_id", type = IdType.INPUT)
    private Long userId;

    /**
     * 用戶姓名
     */
    @TableField(value = "user_name")
    private String userName;

    /**
     * 用戶性別
     */
    @TableField(value = "user_sex")
    private String userSex;

    /**
     * 用戶年齡
     */
    @TableField(value = "user_age")
    private Integer userAge;

    private static final long serialVersionUID = 1L;
}